<?php

// Number leading with zero is treated as OCtal Number
$a = 0123;//83
echo $a;
echo "\n\n";
echo 123 * 2;//246
echo "\n\n";
echo '123' * 2;//246
echo "\n\n";
echo '123abc' * 2;//246
echo "\n\n";
echo '1a2b3c' * 2;//246
echo "\n\n";
echo 'abc213' * 2;//0
echo "\n\n";
echo 0123821 ;//83
echo "\n\n";
echo 0x123 ;//291
echo "\n\n";
/*
-------------------------------------------
1         2         3
0001    0010     0011

   1    0    0    1   0  0   0   1   1
  256  128   64  32  16  8   4   2   1
------------------------------------------
  256            32              2    1 = 291

*/
